/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: Daniel Landa
 * License Type: Purchased
 */
package logicadatos.basededatos;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class Juega_publicoCriteria extends AbstractORMCriteria {
	public final IntegerExpression ID;
	public final DateExpression horaInicio;
	public final DateExpression horaFin;
	
	public Juega_publicoCriteria(Criteria criteria) {
		super(criteria);
		ID = new IntegerExpression("ID", this);
		horaInicio = new DateExpression("horaInicio", this);
		horaFin = new DateExpression("horaFin", this);
	}
	
	public Juega_publicoCriteria(PersistentSession session) {
		this(session.createCriteria(Juega_publico.class));
	}
	
	public Juega_publicoCriteria() throws PersistentException {
		this(logicadatos.basededatos.SintituloPersistentManager.instance().getSession());
	}
	
	public Juega_publico uniqueJuega_publico() {
		return (Juega_publico) super.uniqueResult();
	}
	
	public Juega_publico[] listJuega_publico() {
		java.util.List list = super.list();
		return (Juega_publico[]) list.toArray(new Juega_publico[list.size()]);
	}
}

